﻿#pragma once
#include <windows.h>

class CATMPtrList
{
public:
    CATMPtrList();
    ~CATMPtrList();
    
    bool 	AddTail(void* ptr);
    void*	RemoveHead();
    int		GetCount();

  void* GetAt(int index);
  void* RemoveAt(int index);

  bool InsertAt(void* ptr,int index);
    
    void*	m_ptr[1024];
    int		m_nCount;

    HANDLE m_mutex;
};

bool GetProfileString(char key[],char value[],char str[],int strlen,char filename[]);
bool PutProfileString(char key[],char value[],char str[],char filename[]);


